package com.b.service.impl;

import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;
import com.b.dao.ProductEvaluationImageMapper;
import com.b.domain.ProductEvaluationImage;
import com.b.service.ProductEvaluationImageService;
import java.util.List;
@Service
public class ProductEvaluationImageServiceImpl implements ProductEvaluationImageService{

    @Resource
    private ProductEvaluationImageMapper productEvaluationImageMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return productEvaluationImageMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ProductEvaluationImage record) {
        return productEvaluationImageMapper.insert(record);
    }

    @Override
    public int insertSelective(ProductEvaluationImage record) {
        return productEvaluationImageMapper.insertSelective(record);
    }

    @Override
    public ProductEvaluationImage selectByPrimaryKey(Integer id) {
        return productEvaluationImageMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(ProductEvaluationImage record) {
        return productEvaluationImageMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ProductEvaluationImage record) {
        return productEvaluationImageMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<ProductEvaluationImage> getAll() {
        return productEvaluationImageMapper.getAll();
    }
}
